package com.ys.exception;

/**
 * 描述: 测试自定义异常
 *
 * @author CodeYang
 * @version 2020/12/19 15:31
 */
public class Test01 {

    public static void main(String[] args) {
        try {
            Student obj = new Student("ys",18,'男');
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
